package com.ruoyi.kiku.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

/**
 * 小鞠事迹对象 kiku_deeds
 *
 * @author ruoyi
 * @date 2025-03-03
 */
public class KikuDeeds extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long id;

    /** 事迹内容 */
    @Excel(name = "事迹内容")
    private String content;

    /** 事迹发生时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "事迹发生时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date deedsTime;

    /** 地点 */
    @Excel(name = "地点")
    private String place;

    /** 影响或结果 */
    @Excel(name = "影响或结果")
    private String effect;

    /** 创建时间 */
    @Excel(name = "创建时间")
    private String cjsj;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setContent(String content)
    {
        this.content = content;
    }

    public String getContent()
    {
        return content;
    }
    public void setDeedsTime(Date deedsTime)
    {
        this.deedsTime = deedsTime;
    }

    public Date getDeedsTime()
    {
        return deedsTime;
    }
    public void setPlace(String place)
    {
        this.place = place;
    }

    public String getPlace()
    {
        return place;
    }
    public void setEffect(String effect)
    {
        this.effect = effect;
    }

    public String getEffect()
    {
        return effect;
    }
    public void setCjsj(String cjsj)
    {
        this.cjsj = cjsj;
    }

    public String getCjsj()
    {
        return cjsj;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("content", getContent())
            .append("deedsTime", getDeedsTime())
            .append("place", getPlace())
            .append("effect", getEffect())
            .append("cjsj", getCjsj())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
